//
//  SLHomeViewController.h
//  SoccerLottery
//
//  Created by chuanshuangzhang chuan shuang on 15/12/24.
//  Copyright © 2015年 chuanshuangzhang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SLImagePreview.h"
#import "SLHomeBannerView.h"
#import "SLHomeAccountView.h"
#import "SLDBManager.h"

@interface SLHomeViewController : UIViewController

/**
 *  图片预览类
 */
@property (nonatomic,readwrite) SLImagePreview *imagePreview;

/**
 *  数据列表
 */
@property (nonatomic,strong) UITableView *tableView;

/**
 *  数据源数组
 */
@property (nonatomic,strong) NSMutableArray *dataSorce;

/**
 *  主页banner视图
 */
@property (nonatomic,strong) UIView *bannerView;

/**
 *  用户账号视图
 */
@property (nonatomic,strong) SLHomeAccountView *accountView;

@property (nonatomic,strong) SLHomeBannerView *unLoginBannerView;
//是否应该获取数据
@property (nonatomic,readwrite) BOOL shouldLoadFeed;

//无数据时的提示文字
@property (nonatomic,strong) UILabel *placeholderLabel;

//数据页标
@property (nonatomic,readwrite) NSInteger pageNum;

//数据页码
@property (nonatomic,readwrite) NSInteger pageSize;

- (void)loadRecommend:(NSString *)type;

@end
